
import 'cypress-iframe';
// //passport.jd.com/common/loginPage?from=jdwl_new&ReturnUrl=https%3A%2F%2Fuat-wl.jdl.com%2F
// GZH测试57
// TCshiyong135
describe('UAT 登录商家工作台', () => {
    it('Visits the Kitchen Sink', () => {
        cy.viewport(1366, 768)
        cy.visit('https://uat-wl.jdl.com')
 
        cy.iframe("iframe:first").find('#loginname').type('GZH测试57')
        cy.iframe("iframe:first").find('#nloginpwd').type('TCshiyong135')
        cy.iframe("iframe:first").find('#paipaiLoginSubmit').should('be.visible').click()
        cy.pause()
        cy.visit('https://uat-wl.jdl.com')
      })
  })
//   npx cypress 